package org.duiduo.api.request;

import com.alibaba.fastjson.JSONObject;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

/**
 * @author liangze
 */
@Getter
@Setter
public class BaseRequest {

	@ApiModelProperty(value = "当前页码")
	private Integer currentPage = 1;

	@ApiModelProperty(value = "每页分几条")
	private Integer size = 10;

	@Override
	public String toString() {
		return JSONObject.toJSONString(this);
	}
	
}
